home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000056_news@columbia.edu _Thu Oct 5 00:09:09 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA20234
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 5 Oct 2000 00:09:09 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA04018
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Oct 2000 00:09:08 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA10293
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 23:53:44 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: jaltman@columbia.edu (Jeffrey Altman)
  13. Subject: Re: No Carrier
  14. Date: 5 Oct 2000 03:53:41 GMT
  15. Organization: Columbia University
  16. Message-ID: <8rgu05$a1j$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <y_QC5.4768$bI6.281878@news1.giganews.com>,
  20. Steve <steve@baus-systems.com> wrote:
  21.  
  22. : > The FINISH command sent by the client and received by the SERVER causes
  23. : > the SERVER command to terminate.  Therefore, the EXIT command is executed
  24. : > and the K95 session terminates hanging up the modem
  25. : >
  26. : > There is no need for the FINISH command to be sent, if the previous
  27. : > session was closed prematurely by the client the SERVER command would
  28. : > be automaticly terminated when the carrier signal was lost by the modem.
  29. : >
  30. : > Also, instead of using OUTPUT AT ... just configure the modem with the
  31. : > proper SET MODEM TYPE command and use the ANSWER command to receive the
  32. : > incoming call.
  33. : The reason for the exit in the .ini after the server is before we put it in,
  34. : when we would FIN on the DOS client, the server would go to the K95> prompt.
  35. : We originally invoked K95 by shelling out using:
  36. : k95 -l Com2  -b 9600 -x
  37. : Then for flexibility purposes we thought we could use an ini file so we
  38. : changed the command line to:
  39. : k95 -y IniFileName
  40. : This is where we started running into the K95> prompt issue.  I have since
  41. : changed to:
  42. : k95 -y IniFileName -x
  43. : and have taken out the server and exit lines of the .ini but am still
  44. : getting the no carrier, even when I try the set modem type and the answer.
  45.  
  46. You should leave in the SERVER and EXIT commands.  It is not a good idea
  47. to mix command line and scripting.
  48.  
  49. : The modem I am testing with is a Cnet 56K, not sure what modem type I should
  50. : specify, I have been telling it generic-high-speed.
  51.  
  52. You should use generic-high-speed as a base and customize it for your
  53. modem as per the Using C-Kermit book.  If you can FAX us a copy of the
  54. modem manual, we can add support for the modem to the next version.
  55.  
  56. : Is the FIN what is causing the no carrier?  If so that is going to be a
  57. : problem as I doubt we can update the clients to change this.  If I am
  58. : running the server command in 3.15 instead of K95 and send a FIN from the
  59. : DOS client all the time and it does not drop the line.  Is this a change
  60. : with K95?
  61.  
  62. The difference is that in C-Kermit and Kermit 95 the SERVER command
  63. is a scriptable command.  It terminates when applicable events occur
  64. (carrier is lost with SET CARRIER-WATCH AUTO/ON; idle-timeouts; ...)
  65. this allows you to write scripts that can properly manage multiple
  66. phone calls.  The MS-DOS Kermit SERVER command can only be termianted
  67. by a FINISH or a Ctrl-C.   There is no mechanism in the script language
  68. to cancel the SERVER command in MS-DOS Kermit.
  69.  
  70. The FINISH command when received from the client means "terminate SERVER
  71. mode".  So if K95 receives that command when in SERVER mode the SERVER
  72. will be terminated.  The same is true for MS-DOS Kermit.  If the SERVER
  73. command is active and a FINISH is received the command will terminate.
  74.  
  75. If you want Kermit 95 to remain in SERVER mode after receiving one
  76. FINISH command you will have to use
  77.  
  78.   SET MODEM TYPE ...
  79.   SET PORT ...
  80.   SET FLOW ...
  81.   ANSWER 
  82.   SERVER
  83.   SERVER 
  84.   EXIT
  85.  
  86.                   Jeffrey Altman * Sr.Software Designer
  87.                  The Kermit Project * Columbia University
  88.                612 West 115th St * New York, NY * 10025 * USA
  89.      http://www.kermit-project.org/ * kermit-support@kermit-project.org